<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="module/head::common_header(~{::title},~{::link},~{::script})">
    <meta charset="UTF-8">
    <title th:text="${dbUser.getAccountName()}"></title>

    <link rel="stylesheet" href="/css/page.css">
    <script></script>
</head>
<body>
<div id="navigation" th:include="module/navigation::navigation">

</div>

<div class="main">
    <div class="am-g">
        <div class="am-u-lg-4">
            <div class="body-list">
                <div class="body-item title">
                    <span>Author</span>
                </div>
                <div class="body-item author-info">
<!--                    头像-->
                    <img th:src="'/images/'+${dbUser!=null?dbUser.getAvatar():''}"class="am-circle">
<!--                    账号-->
                    <a th:text="${dbUser!=null?dbUser.getNickName():''}"></a>
<!--                    简介-->
                    <span th:text="${dbUser!=null?dbUser.getIntroduction():''}"></span>
                </div>
                <div class="body-item sort-list">
                    <a class="title">文章分类</a>
                    <a class="sort-item">
                        <img src="images/touxiang.png" class="">
                        <div>
                            <span>分类名称</span>
                            <span>简单的分类介绍</span>
                        </div>
                    </a>
                </div>
            </div>
        </div>
        <div class="am-u-lg-8">
            <div class="body-list">
                <div class="body-item title">文章</div>
                <div class="body-item content-list" th:if="${articleList} ne null">
                    <a class="content-item" th:each="item : ${articleList}"
                       th:href="'/article/detail/'+${item.getArticleCode()}">
                        <div class="c-i-head">
<!--                            文章标题-->
                            <div class="title hide-after-exceed" th:text="${item.getArticleTitle()}"></div>
<!--                            修改时间-->
                            <div class="time" th:text="${item.getEditorTime()}"></div>
                        </div>
<!--                        文章内容(前一百个字)-->
                        <div class="c-i-body" th:text="${item.getArticleHtmlContent()}">

                        </div>
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:replace="module/foot :: foot"></div>
</body>
</html>